home *** CD-ROM | disk | FTP | other *** search
/ Aminet 8 / Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso / Aminet / util / misc / Atebeta4d.lha / ATEbeta4.txt (.png) next >
ANSI Art File  |  1995-08-25  |  26KB  |  640x9216
Labels: text | screenshot | black and white | black | font | document
OCR: ese the nane sucks.) czyretrated by: Gordon Tecyk fron Richmond, BC, Canada Table of Contents: 1) What Is ATE and why is it better than bullet and typel. librariesT What Is ATE and why Is It be 2) System Requirements 3) Installing ATE (Assuming the good folks at AC didn't make an installer) 1) Running and using ATE with apps 5) Printing using ATE (suggestions are welcome here) 6) Bugs fixed since ATMbeta3d 7) Known bugs with ATEbetald 1) Future plans for connercial version (suggestions are also velcone here) ............... What is this crazy thing you call ATE? through the operating system, specifically graphics. library and This style of handling characters cones right out of Gold Disk's CG font handler from Professional Page. It too, draus characters only as needed, as does ATH for Windous or the Macintosh. That's not all. If you have multiple styles of a typeface (such as fines-Ronan, Tines-Bold, Times-Italic, Tines-BoldItalic) ATE will use the true styles when programs ask for styles in OpenDiskFont () or even if they cheat and use SetSoftStyle() on the normal style. Deluxe Paint IV for example, will use true italics and true bolds, wether it likes it or not. Thphth, TE works with any typefaces that work with post. library V17. These include Type 1 #GCIl, Type 1 Binary, Type 3, that weird format Gold Disk uses, think Mimbus-Q, and whatever. It will spit out amy font size you ask It, and keep itself organized if you run low on nenory. further system patches: (1) OpenDiskFont( ) patch to keep track of loaded ATE fonts for the Text() patch, and of course, to generate the Textfont to draw in. (2) SetSoftStyle() patch to suap fonts behind sone apps" back, In case they open the normal style them blatantly SetSoftStyle() to get bold or italic. Most EA apps do this. (3) fwailFonts() patch to imert ATE fonts into lists for apps. (4) Patch to diskfont. library's Expunge() function to free all unopened fonts and "re-start" the PS interpreter in lou memory conditions. Many of these patches I will make obsolete, particularly the fwaillouts() patch, as I begin to move this towards a bullet-style library, and make the remaining patches optional. I can use input on this idea. 2) OK you convinced ne. What do I need to run ATET You need: An Amiga (Obulous. If you have a DOS box what are you doing reading ACT) Kickstart 2.04 and Workbench 2.04 or Better (You don't need 437 diskfont ) MB memory (All nGA machines should handle this. Mininun 1 MB Fast RAM) properly installed hard disk with all the right stuff in your C: directory. I depend on these for the Installer. These things will make ATE nicer to use! A 60020 / 68881 processor combination or better Typefaces from All for Windows (Times, Helvetica, Symbol, Courier) MC's Weird Science Multimedia Toolkit (100 PostScript typefaces!) D) How to install ATE without ripping your hair out The included IconX script will install ATE for you. It will check your processor types and check if you already have a version of post. library installed, so HUGPOST users can safely install this without losing their existing POST setup. To Install: Click on the "InstallATE" icon. If it asks you to insert a volune labeled "TSTonts:" just cancel it, Or you can type "InstallATE" fron a Shell. Here's where the script should put everything! Fonts :_ ATE_37 Sfonts 11? your FONTS: directory PSfonts : Init. ps makes a PSfonts dir and copies all this here Sfonts :AFfis/17 If you don't have one, It puts one here nakes an AFMs dir in the PSfonts dir and Libs: post. library or copies all this here post. library.2620 copies one of these to LIBS: and renanes It if necessary to read "post. library" YS:UlStartup/ATDbetald. info nain executable icon for nain executable The script also looks for an existing assign of PSPontst and if it can't Find one, will add to, or create a Silver-Startup file to put an Assign connand there. Notice this does not copy typeface files for Times, Helvetica, Symbol, or Courier families. It provides .afn and _ATE_ files for them, but you will get errors or FunkyFont if you open these. I only provided the .afn and ATE_ files for the convenience of licensed users of these typefaces. Grab ATM for Windows to get then. 1) Got everything in the right places? Here's hou you run it: Either type! ATEBetald at a command prompt, or double-click its icon. To unload ATE and all its fonts, type: ATTbetald -exit ur double-click the icon a second time. There are other parameters you can use as well. You can use these either when starting ATE, or to update settings for an existing process of ATE: -trace Enable trace message displaying. I have messages inbedded in the code that show up if you use this switch. Disables trace message displaying. This is the default. If you like seeing lots of crap on the screen, this switch displays every IS connand ATE uses. Might be useful for troubleshooting problen typefaces. Turns debugging crap off. This is the default. Ever see aneared bolds or fake italics? If a typeface doesn't have styles installed, this switch will enable the system to use algorithmic (soft) styles on ATE fonts. I would advise against using this switch and get true styles for your typefaces instead. -softstylesoff Disables algoethnic styles on ATE typefaces that don't have built im styles. Soft styles on other Aniga fonts will still work. This is the default. hidediskfonts Ever see the "Show only TrueType fonts in applications" switch? This parameter mimicks that function, Apps that wse AuailFonts() to call up fout lists will only show TextFonts in Ris and ROM and ATE fonts. Opening known diskfonts (like terminal programs do) still works. -showl iskfonts Shows all finiga and ATE fonts in app lists. Default. awilfonts on si This tells ATE what sizes of fonts to shou to apps, 5H . size maximun, si . size increment. Defaults are 72 6 to show font sizes 6 12 18 24 30 36 42 48 51 60 66 72 4pl dp -dpi sets the drawing resolution for the screen. The industry standard for the Industry conserons rather) is 72 dots per inch, and that is also my default. (-dpi 72) Aniga apps like to use 75 201 for sone stupid reason. If you have ProWrite and your printing seens squished at large sizes, try using -dpi 75. You must close all apps using ATE before using this switch. exit Tells ATE to unload itself and all resources it used. It undoes all patches if it can safely do so, and unloads all ATE fonts from memory, You must close all apps using ATE before using -exit. I have safety locks to prevent exiting or -dpi changes if any apps still have ATE fonts open. Yes you can add more typefaces to ATE. if you don't mind getting your hands dirty with your favorite text editor. ATE wses files with the prefix ATE_ to Mentify PostScript typefaces and AFM files that corespond with ATE_ fonts. I included _ATE_a for the typefaces that cone with ATM for Windows, just to get you started. fou can add more by copying an existing ATE file and renaming it, and by Fixfonts. Miting the contents. These files sit in FONTS: but they aren't affected 255 Tines-Ronan 32 255 . Tines-lold 32 255 . Tines-Italie 32 255 . Tines-BoldItalic Renenber to add an extra RETURN to the end of the last line. The S means Standard Encoding (translate to fniga encoding), the 32 255 are the first and last characters supported by this typeface, and the .fontnane is the PostScript nane of the typeface. For the first face on the list, you also need! PSfonts : Times-Roman Sfonts 1AFfis/Tines-Ronan.AFM In your PSfonts directory. If you want true styles, you need the typeface and AFM file for each style as well. I also included AFm files for the APM files. ATM Windous typefaces, as they are free, and ATH for Windous doesn't use WARMING: Sone AFM files will have CR/LF or just CR at the end of their lines, because of MS-DOG :) or Macintosh text formats, You must convert these files to finiga format text (LF). CrossiOS cam do this, as can sone CD-ROM file systens. for a typeface without styles, copy the same line to all four entries: 23 126 . Funkyfont 32 126 . Funkjl'out 32 126 .FunkyFont 32 126 . FunkyFont This tells ATE to use the normal typeface and not build a styled font. Notice this _ATE_ file also specifies ASCII codes 32 to 126: this typeface does not support characters beyond ASC11 126. for font specific encoded typefaces (like symbol sets or dingbats) use something like this! 32 255 .Symbol 32 255 .Symbol 32: 255 ,Symbol 32 255 .Suntol In this case, the "S" was replaced by an "F" for "Font Specific". ............... 5) Printing nice text with ATE (I need help here) There is no standard way to draw graphics to a printer on the Aniga. ATH for the Bac and for Windows depend on the sane drawing functions for the printer as well as the screen, which Is uty ATH works so well on those systems. On the finiga, there's no such thing. Heck, some apps don't even call Text() to draw on the screent What's with you guys? 50, here are sone 05 friendly suggestions for developers, that will let you print excellent type on mon-PostScript printers using ATE: Bugs fixed since Amibeta3d from comp. binaries.aniga Yes I am guilty of releasing Allbeta3d to the Internet. My intent was to Mobe: It's your loss. Thphth. Anguay I fixed sone nasties fron that first release. (1) Better OpenFont checking. Kickstart 3.0 version of OpenDiskFont() doesn't call OpenFont() after it loads a neu diskfont. I first counted pen ATM fouts via a patch to Openfont(). This patch Is now renoved and t checks the TextFont tf_Accessors for each _ATE_ font instead. ) Known bugs with ATE beta 1d No new product isn't without bugs (look at Windows 95. Thphth. ) and here's feu you should watch out for when using this wicked little hack. (1) Draist IV non-fiGA 2) DTP programs that use their own typeface handlers All fmiga DIP programs since PPage 1.3 are guilty of not calling the OS to draw text. Since I'm trying to spend things up by drawing characters as needed, and these programs don't call Text(), nothing gets draunt Oh the spacing is there, and the characters are there, but they're just ... .- empty. I refuse to take repontibility for this. DIP authors! Use the 0S like you're supposed to. And maybe you can save a few HII by supporting ATE instead of writing your own typeface handlers. (OK that was a bit drastic. . . #SDG's Art Department Pro also doesn't use Text(), so I'm moving the rendering engine to a bullet style library and making the Text() and SetSoftStyle() patches optional. However, if App writers and users want outline type to be PAST, USE THE OS !!!!! ) (3) Weird spacing problems with DVideo III apps also call Textlength() to find out how much space they need, and that problen you can avoid by adding extra spaces to the end of any bold text. (Oh yes ... WVideo Ill has Enforcer and Munguall problens by itself too. Don't blanc ATE for those. ) (4) Memory loss after exiting This one I do take responsibility for. Somchou I lose 800 bytes when ATE exits. I can't tell which MUMM functions did it by just by looking at the Snoop output Manguall gave me. I can use any and all assistance to track down this menory loss. (5) Adding or Removing diskfonts while ATE rans To speed up calls to fwmailFonts() I try to pre-scan the diskfont list to see how much menory it would take. Excellence! 3.0 would always scam twice: once to find out how much RAM, and second to actually lood all the TE'S Check with the typeface vendor for updated AFM files. I will fix this in the font installer, which will correct Arn files as it installs then. (B) Ugly, ugly, console window Yes I know ... I don't want to complicate things with pretty futoRequest things just yet. They'll be there in the connercial release. 1) Meas for comercial release (I need help here toof) QUI for Installing typefaces and setting ATE options. Currently using The installer will also correct or add bounding box info, and maybe cowert .P'IM files. I can correct bbox info by reading it from the typeface itself. . Pris don't include bbox info, so comversions will require lots of planning. HeyScaledDiskFont() add-on described in Printing section. This is the best way I sce, so far, to support printing and mot clog up nemory with huge TextPosts in the systen list. Maybe an interface or .otag or whatever, to provide kerning information to apps. Apparently the Aniga has a standard interface for receiving kerning pair info. Currently though, the Arn files provide kerning info if apps don't mind wading through then. (I'm planning a move over to a bullet style library with optional patches Instead, so the .otag will be reality in the comercial version if 1 Thphth. ) get enough demand for it. ATE works on WB 2.04: bullet and type1 do not. Ind anything else reason Copyright Information This release is for Aniga Conpting magazine customers and anyone else tho happens to get their hands on their coverdisks. Do not re-distribute E-MAILing ne. without my permission. Users not receiving AC can get ATEbetald by You may mot re-distribute altered archives AT ALL. You may add your out installers etc so long as you do not change the original files in the archive, and see ne for re-distribution permission. Miobe Type Manager and Adobe Type Manager and "ATH" are trademarks of Adobe Systems Inc Professional Page is a product of Gold Disk, Inc MS-Windows and Windows 95 belong to Microsoft (they can keep it. ) Macintosh is a product of Apple Computer Inc Original MkmMAP source code I lifted fron Adrian fyluard's MIMAP arc ive. This provided the spark I needed to get this thing going. post. library and #7.ps init files by Adrian fyluard fron POST 1.7 FunkyFont from Radical Eye software, assuned frecuare as it shipped with NOST 1.7 Various typeface manes are trodenarks of their respective holders Aniga Typeface Engine and "ATE" are not currently trademarks but 1'4 rather call this something else angusy OPaint, WVideo, DPhotoLab are products of Electronic Arts Many thanks go to: My beta testing crew who shall remain nameless for mou, as these guys get later versions of ATE than any of you ever will. Thanks gust Heinz Wrobel for giving a good kick in the ... And for making HUGPOST as fast as it Is. If more users denand it I will get that bullet style library done for the connercial release. .. Many internet users who answered my stupid questions. List coming in connercial release. Mobe systems for nothing. Thphth. (OK they did mail ne sone APM files for free. Thanks for that. ) Amiga Computing magazine for actually publishing this pre-release. You guys want to market the comercial release? : ) Contact Information Gordon Fecyk SMT 5531 McRae Street tichnond, BC V64 2PS Canada .1-604-526-8724 (24 hour voice mail)